import {TypedUseSelectorHook,useDispatch,useSelector}from 'react-redux'
import type {RootState,AppDispatch}from './index'

export const useAppDispatch:()=>AppDispatch = useDispatch
export const useAppSeletor:TypedUseSelectorHook<RootState> = useSelector